<%@ page language="java" contentType="text/html"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
    <title>医生个人资料</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            overflow-x: hidden;
            color: #666;
        }
        nav{
            width: 100%;
            height: 56px;
            background-color: #39bebe;
        }
        nav>span,nav>div>span>a,nav>a{
            display: inline-block;
            float: left;
            height: 26px;
            /* overflow: hidden; */
            margin: 14px 20px 0 0;
            padding-left: 10px;
            border-left: 1px solid #E0E0E0;
            font-weight: normal;
            font-size: 18px;
            line-height: 24px;
            color: #fff;
            text-decoration: none;
        }
        nav>div{
            position: relative;
            left: 200px;
        }
        nav>span:hover{
            text-decoration: underline;
            cursor: pointer;
        }
        nav>div>span>a:hover{
            text-decoration: underline;
            cursor: pointer;
        }
        nav>a:hover{
            text-decoration: underline;
            cursor: pointer;
        }
        nav>span{
            position: relative;
            left: 500px;
        }
        nav>a{
            position: relative;
            text-decoration: none;
            left: 500px;
        }
        .now{
            text-decoration: underline;
        }
        

        .left{
            float: left;
            width: 198px;
            height: 300px;
            border: 1px solid #E0E0E0;
            position: relative;
            left: 130px;
            top: 20px;
        }
        .left>div{
            width: 100%;
            height: 120px;
            border-bottom: 1px solid #e0e0e0;
        }
        .left img{
            width:80px;
            height:80px;
            display: inline-block;
            margin: 20px;
            float: left;
        }
        .left>div>span{
            float: left;
            /* border: 1px solid #999; */
            margin-top: 20px;
        }


        .right{
            float: left;
            width: 790px;
            height: 800px;
            border: 1px solid #E0E0E0;
            position: relative;
            left: 140px;
            top: 20px;
            margin-bottom: 100px;
        }
        form{
            position: relative;
            padding: 50px;
            line-height: 60px;
            font-size: 20px;
        }
        #save{
            height: 34px;
            width: 127px;
            background-color: white;
            color: #39bebe;
            border: 2px solid #39bebe;
            margin-top: 20px; 
            font-size: 20px;
            vertical-align: top;
            border-radius:5px;
        }
        #save:hover{
            cursor: pointer;
            background-color: #39bebe;
            color: white;
        }
    </style>
</head>
<body>
    <nav>
        <div>
            <span><a href="./d_per.jsp" class="now">个人资料</a></span>
            <span><a href="../order/d_order_set.jsp">坐诊时间</a></span>
            <span><a href="../order/d_order_date.jsp">最大预约数</a></span>
            <span><a href="../../pages/print/d-print.jsp">预约情况</a></span>
            <!-- <span><input type="text">
                <input type="submit" value="搜索"></span> -->
        </div>
        <span><c:out value="${ doc.name }"/>医生</span>
        <a href="../login/doctor_register.jsp">退出登录</a>
        </div>
    </nav>
    <div class="left">
        <div>
            <img src="../../patient/images/1.jpg" >
            <span>&nbsp&nbsp<c:out value="${ doc.name }"/>医生</span>
        </div>
       
    </div>
    <div class="right">
        <div>
            <form >
                <label>姓名：</label>${ doc.name }<br>
                <label>性别：</label>${ doc.sex }<br>
                <label>年龄：</label>${ doc.age }<br>
                <label>医生等级：</label>${ doc.grade }<br>
                <label>科室：</label>${ doc.department }<br>
                个人简介：${ doc.profile }<br>
                <label>密码：</label>${ doc.password }<br><br>
                <a href="./d_personal.jsp"><input type="botton" name="save" id="save" value="编辑资料"></a>
            </form>
        </div>
    </div>
</body>
</html>